
<div class="row">
	<div class="col-md-12">
		<div class="page-header">
		<h1>Update Information Book</h1>


	</div>
	<?php if($this->session->flashdata('msg')){

		echo $this->session->flashdata('msg');
	} ?>

	<?php 

	$row = $resultData->row();
	echo form_open_multipart("admin/updateBooks/".$row->postid,'class="form-horizontal"');

	?>
		<div class="form-group no_margin_button">
			<div class="col-md-12">
				<table class="table tbl_no_top">
					<tr>
						<td width="100"><label  class="control-label ">Book Title <span class="red bold">*</span> </label></td>
						<td>
							<?php echo form_input('bookName',$row->post_title,'class="form-control  input-sm " placeholder="Book Name"'); ?>
							<span class="red bold"> <?php echo form_error('bookName'); ?></span>
						</td>
						<td width="100">
							<?php
								$arrJobTime = array("0"=>"Pending","1"=>"Public");
							?>
							<?php echo form_dropdown('label',$arrJobTime,$row->label,'class="form-control  input-sm "'); ?>
						</td>
						<td width="50">

							<?php echo form_submit('submit','Save','class="btn btn_save btn-info" placeholder="Contact Person"'); ?>
						</td>
					</tr>
					<tr>
						<td>Price<span class="red bold">*</span> </td>
						<td>	<?php echo form_input('price',$row->price,'class="form-control  input-sm " placeholder="Price"'); ?></td>
						<td colspan="2"><input type="file" name="userfile" value="" class="" size="20" /></td>

					</tr>
					<tr>
						
						<td>Shipping<span class="red bold">*</span> </td>
						<td>	<?php echo form_input('shipping',$row->shipping,'class="form-control  input-sm " placeholder="Shipping"'); ?></td>

					</tr>
				</table>
			</div>
		</div>

		<div class="form-group no_margin_button">
		    <div class="col-sm-12">
		    	
			    <?php 
			       echo form_hidden("img",$row->post_image);


			    //echo form_textarea('detial','','class="form-control detail_mce  input-sm " placeholder="Detail Book"'); ?>
			    <textarea name="txtComDese" class="detail_mce" style="width:539px; height:305px; max-width:539px;">
			    	<?php echo $row->post_description; ?>

			    </textarea>
		   </div>     
		</div>	
		<?php echo form_close(); ?>		
	</div>
</div>